Directed st-Connectivity Is Not Expressible in Symmetric Datalog

نویسندگان

  • László Egri
  • Benoit Larose
  • Pascal Tesson
چکیده

We show that the directed st-connectivity problem cannot be expressed in symmetric Datalog, a fragment of Datalog introduced in [5]. It was shown there that symmetric Datalog programs can be evaluated in logarithmic space and that this fragment of Datalog captures logspace when augmented with negation, and an auxiliary successor relation S together with two constant symbols for the smallest and largest elements with respect to S. In contrast, undirected st-connectivity is expressible in symmetric Datalog and is in fact one of the simplest examples of the expressive power of this logic. It follows that undirected non-st-connectivity can be expressed in restricted symmetric monotone Krom SNP, whereas directed non-st-connectivity is only definable in the more expressive restricted monotone Krom SNP. By results of [8], the inexpressibility result for directed st-connectivity extends to a wide class of homomorphism problems that fail to meet a certain algebraic condition.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On Constraint Satisfaction Problems below P

Symmetric Datalog, a fragment of the logic programming language Datalog, is conjectured to capture all constraint satisfaction problems (CSP) in logarithmic space [10]. Therefore developing tools that help us understand whether or not a CSP can be defined in symmetric Datalog is an important task. A simple, well-known fact is that for any CSP, a fixed set of structures O (an obstruction set) ca...

متن کامل

Maltsev + Datalog --> Symmetric Datalog

Let B be a finite, core relational structure and let A be the algebra associated to B, i.e. whose terms are the operations on the universe of B that preserve the relations of B. We show that if A generates a so-called arithmetical variety then CSP(B), the constraint satisfaction problem associated to B, is solvable in Logspace; in fact ¬CSP(B) is expressible in symmetric Datalog. In particular,...

متن کامل

Expressing Topological Connectivity of Spatial Databases

We consider two-dimensional spatial databases defined in terms of polynomial inequalities and focus on the potential of programming languages for such databases to express queries related to topological connectivity. It is known that the topological connectivity test is not first-order expressible. One approach to obtain a language in which connectivity queries can be expressed would be to exte...

متن کامل

The Complexity of Constraint Satisfaction Problems and Symmetric Datalog

Constraint satisfaction problems (CSPs) provide a unified framework for studying a wide variety of computational problems naturally arising in combinatorics, artificial intelligence and database theory. To any finite domain D and any constraint language Γ (a finite set of relations over D), we associate the constraint satisfaction problem CSP(Γ): an instance of CSP(Γ) consists of a list of vari...

متن کامل

The expressiveness of DAC

We de.ne a new logic-based query language, called DAC, which is an extension of Datalog. A DAC(w(n); h(n))(b(n))-program consists of a family of Datalog programs Pn such that w(n); h(n); b(n) bound the width of rules, the number of rules, and the recursion depth of any Pn, respectively. We exhibit queries which are not Datalog expressible but are DAC expressible. We also prove non-expressivenes...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008